package cn.smile.bean.form.basic.bill;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class TopUpAddForm {

    /**
     * 会员ID
     */
    @NotBlank(message = "请选择会员")
    private String memberId;

    /**
     * 充值金额
     */
    @NotNull(message = "请输入充值金额")
    private BigDecimal topUpPrice;

    /**
     * 赠送金额
     */
    private BigDecimal giftPrice;

    /**
     * 是否首次充值(true-是, false-否)
     */
    private Boolean firstPreStore = Boolean.FALSE;

    /**
     * 备注
     */
    private String remark;

    /**
     * 赠送代金券
     */
    private List<String> voucherList;
}
